# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>

pkgname=python-pylibacl
pkgbase=pylibacl
pkgver=0.6.0
pkgrel=3
pkgdesc='A python extension module that allows you to manipulate the POSIX.1e ACLs.'
arch=('loong64' 'x86_64')
url='https://pylibacl.k1024.org/'
license=('LGPL')
depends=('python')
makedepends=('python-setuptools')
source=("${url}/downloads/${pkgbase}-${pkgver}.tar.gz"{,.asc})
md5sums=('21a4cf82472842f0755f7f7e5980f44c'
         'SKIP')
sha256sums=('88a0a4322e3a62d797d61f96ec7f38d1c471c48a3cc3cedb32ab5c20aa98d9ff'
            'SKIP')
validpgpkeys=('CB94E3AA3B1755D61EBB19A5F66E3E419F84F4DE') # Iustin Pop <iustin@k1024.org>

build() {
	cd "${srcdir}/${pkgbase}-${pkgver}"

	python setup.py build
}

package() {
	cd "${srcdir}/${pkgbase}-${pkgver}"
	python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
